<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $this->translate($this->escape($this->title));?></title>
<link rel="stylesheet" type="text/css" media="screen"
	href="<?php echo $this->baseUrl();?>/css/site.css" />
<link rel="stylesheet" type="text/css" media="screen"
	href="<?php echo $this->baseUrl();?>/css/menu.css" />
<link rel="stylesheet" type="text/css" media="screen"
	href="<?php echo $this->baseUrl();?>/css/paging.css" />
<script type="text/javascript" src="<?php echo $this->baseUrl();?>/js/calendar.js"></script>
<script type="text/javascript" src="<?php echo $this->baseUrl();?>/js/jquery.js"></script>

</head>
<body>
	<div id="header">
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	    <tr>
        <td width="320"><img src="<?php echo $this->baseUrl();?>/images/VMG_LOGO.gif" width="114" height="106" /></td>
        <td width="356" valign="top">
        <table width="336" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center">&nbsp;</td>
            <td rowspan="3" align="center"><img src="<?php echo $this->baseUrl();?>/images/sap.gif" width="2" height="52" /></td>
            <td align="center">&nbsp;</td>
            <td rowspan="3" align="center"><img src="<?php echo $this->baseUrl();?>/images/sap.gif" width="2" height="52" /></td>
            <td align="center">&nbsp;</td>

            <td rowspan="3" align="center"><img src="<?php echo $this->baseUrl();?>/images/sap.gif" width="2" height="52" /></td>
            <td align="center">&nbsp;</td>
            <td rowspan="3" align="center"><img src="<?php echo $this->baseUrl();?>/images/sap.gif" width="2" height="52" /></td>
            <td align="center">&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td align="center"><img src="<?php echo $this->baseUrl();?>/images/icon_home.gif" width="19" height="19" /></td>
            <td align="center"><img src="<?php echo $this->baseUrl();?>/images/icon_faq.gif" width="19" height="19" /></td>

            <td align="center"><img src="<?php echo $this->baseUrl();?>/images/icon_shortcuts.gif" width="19" height="19" /></td>
            <td align="center"><img src="<?php echo $this->baseUrl();?>/images/icon_careers.gif" width="19" height="19" /></td>
            <td align="center"><img src="<?php echo $this->baseUrl();?>/images/icon_aboutus.gif" width="19" height="19" /></td>
            <td width="8">&nbsp;</td>
          </tr>
          <tr>
            <td class="top_links"><a href="#" class="top_links">Home</a></td>
            <td class="top_links"><a href="#" class="top_links">FAQs</a></td>

            <td class="top_links"><a href="#" class="top_links">Shortcuts</a></td>
            <td class="top_links"><a href="#" class="top_links">Careers</a></td>
            <td class="top_links"><a href="#" class="top_links">About Us </a></td>
            <td class="top_links">&nbsp;</td>
          </tr>
        </table>
       </td>
     </tr>
    </table>

   </div>
    <div id="user_info">
    	<div id='todaydate'><script type="text/javascript">displayDate();</script></div>
    	<?php
    		$auth = Zend_Auth::getInstance();
    		if($auth->hasIdentity()) {
    			echo "<div id=\"username\">" . $this->escape($this->translate($auth->getIdentity()->getType()) . ": " . $auth->getIdentity()->getName())
    				 . "<a href=\"" .$this->url(array('controller'=>'index', 'action' => 'logout')) . "\">" . $this->translate($this->escape("Logout")) . "</a></div>";
    		}
    	?>
    </div>

    <div id="content">
    <?php if($auth->hasIdentity()): ?>
	<div id="content_left">
	<?php echo $this->buildMenu($this->baseUrl(), $auth->getIdentity()->getAccessLevel());?>
	</div>
	<?php endif; ?>
	<div id="content_right">
	<div id="title"><h1><?php if(isset($this->title)){ echo $this->escape($this->translate($this->title)); }?></h1></div>
	<?php echo $this->layout()->content;?></div>
	</div>
	<div id="footer" align="center"><a href="#" class="Bottom">About VMG</a>  l   <a href="#" class="Bottom">Customer Care</a>  l   <a href="#" class="Bottom">T&amp;C</a>  l   <a href="#" class="Bottom">Pricing</a>  l   <a href="#" class="Bottom">Help</a></div>
	<div id="verification" align="center">
    <a href="http://jigsaw.w3.org/css-validator/check/referer">
         <img style="border:0;width:60px;height:25px"
            src="http://jigsaw.w3.org/css-validator/images/vcss"
            alt="Valid CSS!" />
    </a>
	</div>
</body>
</html>